<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/11/30
 * Time: 10:14
 */

@set_time_limit(0);
@ini_set('memory_limit', '1024M');
@date_default_timezone_set('PRC');
define("URL", "http://www.t-cat.com.tw/Inquire/Trace.aspx?no=");
define('ENV', 'test');
switch (ENV) {
    case 'dev':
        error_reporting(E_ALL);
        require 'config_local.php';
        break;
    case 'test':
        error_reporting(E_ERROR);
        require 'config_test.php';
        break;
    case 'prod':
        error_reporting(E_ERROR);
        require 'config.php';
        break;
    default:
        break;
}
